#ifndef __ULTRASONIC_MODULE_H__
#define __ULTRASONIC_MODULE_H__

#include <reg52.h>
#include "intrins.h"
#define Position(num) P2=(num<<2)

sbit TrigPin_bit = P1^0;
sbit EchoPin_bit = P1^1;



void Display(unsigned int num); //
void Serial_Init();
void setup();
void sendTriggerPulse();
unsigned int getPulseWidth();
void Send_int(unsigned int num);

#endif